<?php 
namespace Yang;
//自动加载类
class Loader{
	static function autoload($class){
//var_dump($class);//App\Controller\Home\Index
		require BASEDIR.'/'.$class.'.php';
		//App\Controller\Home\Index.php
	}
}
 ?>
